package com.yuexun.dhdoctor.module.email.api;


import com.yuexun.dhdoctor.module.email.bean.MailBean;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;

/**
 * Created by work-jx on 2016/8/1.
 */
public interface GetApi {
    //接收邮件-收件箱
    @FormUrlEncoded
    @POST("getMailList.json?")
    Observable<MailBean> getMail(@FieldMap Map<String, String> praise);


    //接收邮件-草稿箱
    @FormUrlEncoded
    @POST("getmailList.json?")
    Observable<MailBean> getMail_Draft(@FieldMap Map<String, String> praise);
}
